{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pandas import Series"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "with open(\"d0504_dataset.txt\") as f:\n",
    "    data_series = Series([int(line) for line in f])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x137bf6c4e48>"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4xLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvDW2N/gAADwJJREFUeJzt3X+MZXV9xvH3I1DaihboDrjlR4caasA/CjohttqEarWIbYFakxJLSGqy/lFabDUNalJpWhNIqzRNCGQJRGxUYkQCFagSAiUmlXZ2XdbFlYJ0VWADS40FkkYDfPrHPZu9rDNz79wfc+9+9/1KJnPuuefOffa7c585c+73nElVIUk69L1q1gEkSZNhoUtSIyx0SWqEhS5JjbDQJakRFrokNcJCl6RGWOiS1AgLXZIaceSgDZL8LPAAcHS3/Zeq6hNJTgNuAY4HtgOXVNVP1vpamzZtqsXFxbFDS9LhZNu2bc9W1cKg7QYWOvBj4O1V9UKSo4CvJ7kb+Evgmqq6Jcn1wAeA69b6QouLiywvLw/xlJKk/ZJ8b5jtBh5yqZ4XuptHdR8FvB34Urf+ZuDCEXJKkiZkqGPoSY5IsgN4BrgH+C7wo6p6sdvkCeCk6USUJA1jqEKvqpeq6izgZOAc4IyVNlvpsUm2JFlOsrxv377Rk0qS1rSuWS5V9SPgfuAtwLFJ9h+DPxl4apXHb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7OHAXvDMx22NbDMfN2Bz3/Jf0DtuPi+v09WyTeV1OpVvilX+wW+j92bKTmBH93E+cBG9n6Q/Bp4Gvtpt/17g4e4/ZDvwezPI9hi9X4X2r7u+7zEfp/dT9RHg3fOSbU7G7VZgV7f+X+i9Gbn/m/7abty+Rd8P8DnIdlnfuH0D+I2NznbQNns4UJozH7c1ss183IB/7sZlJ73rSfWX6Kxfpytmm9br1DNFJakRnikqSY2w0CWpERa6JDXCQpekRljoktQIC12SGmGhS1IjLHRJasT/A+SAU452W7fCAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "%matplotlib inline\n",
    "data_series.hist(grid=False, bins=40)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
